package com.yc.study.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 签到任务
 * </p>
 *
 * @author 王妍
 * @since 2022-05-14
 */
@Getter
@Setter
@TableName("check_in_task")
@ApiModel(value = "CheckInTask对象", description = "签到任务")
public class CheckInTask implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("任务名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("签到时间")
    @TableField("check_in_time")
    private Date checkInTime;

    @ApiModelProperty("课程id")
    @TableField("course_id")
    private Long courseId;


}
